home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11529 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.iadfw.net!usenet
  2. From: Larry Weiss <lfw@iadfw.net>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Borland C's tmpnam()
  5. Date: Sun, 24 Mar 1996 17:35:35 -0600
  6. Organization: customer of Internet America
  7. Message-ID: <3155DC47.3717@iadfw.net>
  8. References: <AD75E5DC9668E2A52@mcdiala13.it.luc.edu> <Pine.A32.3.91.960322134158.23347A-100000@red.weeg.uiowa.edu> <AD78E5E796681EC58@mcdialb10.it.luc.edu> <827626790snz@genesis.demon.co.uk> <3154C0DF.6E90@iadfw.net> <827673495snz@genesis.demon.co.uk>
  9. NNTP-Posting-Host: dal25-03.ppp.iadfw.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (Win16; I)
  14.  
  15. Lawrence Kirby wrote:
  16.  > 
  17.  > In article <3154C0DF.6E90@iadfw.net> lfw@iadfw.net "Larry Weiss" writes:
  18.  > 
  19.  > >> "The tempnam function generates a string that is a valid file name and that
  20.  > >>  is not the name of an existing file."
  21.  > >>
  22.  > >I might have written the Standard to say "not the name of an existing file at
  23.  > >the time that the name was created".
  24.  > 
  25.  > I don't think that is necessary. IMHO "an existing file" can only refer to
  26.  > one that exists at the time, it cannot refer to something that may exist in
  27.  > the future. To put it another way if a file with that name does not exist
  28.  > until sometime later it is not "an existing file".
  29.  > 
  30.  
  31. I see your point.   I just preferred the redundant wording so that it would
  32. stress the fact that you still have to do more work to really insure that
  33. you were in possession of a name that could be used to aid the genesis of a file.
  34.